/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jdbcpojos;

/**
 *
 * @author piotrek
 */
public class Product {

	private Long idProduct;
	private Producer producer;
	private ProductGroup productGroup;
	private String name;
	private String description;

	public Product(){
	}

	/**
	 * @return the idProduct
	 */ public Long getIdProduct() {
		return idProduct;
	}

	/**
	 * @param idProduct the idProduct to set
	 */ public void setIdProduct(Long idProduct) {
		this.idProduct = idProduct;
	}

	/**
	 * @return the producer
	 */ public Producer getProducer() {
		return producer;
	}

	/**
	 * @param producer the producer to set
	 */ public void setProducer(Producer producer) {
		this.producer = producer;
	}

	/**
	 * @return the productGroup
	 */ public ProductGroup getProductGroup() {
		return productGroup;
	}

	/**
	 * @param productGroup the productGroup to set
	 */ public void setProductGroup(ProductGroup productGroup) {
		this.productGroup = productGroup;
	}

	/**
	 * @return the name
	 */ public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */ public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the description
	 */ public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */ public void setDescription(String description) {
		this.description = description;
	}

}
